package dd.prog2.musterExercises.ws12set03_function;

public class FunctionTest {
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Function f = new ComposedFunction(new Parabel(1, -2, 2), new Hyperbel(1));
		System.out.println("f:");
		f.print(-5, 5, 0.1);
		System.out.println("f'':");
		Function df = new Derivation(new Derivation(f, 0.01), 0.01);
		df.print(-5, 5, 0.1);
	}
}
